package com.liuugoqing.creator.builder.cat;

/**
 * 具体建造者类
 * @Author : liugq
 * @Date : 2022/7/2 11:12
 * @See : 参考类
 * @Since： JDK1.8
 * @Version : 1.0
 */
public class OfoBuilder extends Builder{

    @Override
    public void buildFrame() {
        bike.setFrame("ofo车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("ofo车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
